Dynamic Programming Parallel Implementations for the Knapsack Problem Dynamic Programming Parallel Implementations for the Knapsack Problem Soumis a La Revue Journal of Parallel and Distributed Computers Dynamic Programming Parallel Implementations for the Knapsack Problem

نویسنده

  • Patrice Quinton
چکیده

A systolic algorithm for the dynamic programming approach to the knapsack problem is presented. The algorithm can run on any number of processors and has optimal time speedup and processor eeciency. The running time of the algorithm is (mc=q + m) on a ring of q processors, where c is the knapsack size and m is the number of object types. A new procedure for the backtracking phase of the algorithm with a time complexity (m) is also proposed which is an improvement on the usual strategies used for backtracking with a time complexity (m + c). Given a practical implementation, our analysis shows which of two backtracking algorithms (the classical or the modiied) is more eecient with respect to the total running time. Experiments have been performed on an iWarp machine for randomly generated instances. They support the theoretical results and show the proposed algorithm performs well for a wide range of problem size. Impl ementations parall eles d'un algorithme de programmation dynamique pour le probl eme du sac a dos R esum e : Cet article pr esente un algorithme systolique pour la programmation dynamique du probl eme du sac a dos. Cet algorithme est ex ecutable sur un nombre quelconque de processeurs et poss ede des propri et es d'acc el eration et d'eecacit e optimales. Le temps d'ex ecution est en (mc=q + m) sur un anneau de q processeurs, o u c repr esente la taille du sac a dos et m le nombre d'objets. Une nouvelle m ethode de calcul de complexit e en temps de (m) est egalement propos ee pour la phase de \backtraking". Ce r esultat constitue th eoriquement une am elioration par rapport aux solutions ant erieures dont la complexit e atteignait (mc). Nos analyses montrent dans quels cas notre algorithme de \backtraking" est plus eecace que le pr ec edent quand la totalit e du temps d'ex ecution est pris en compte. Nos exp eriences sont r ealis ees sur la machine iWarp avec des jeux de donn ees g en er es al eatoirement. Ces exp eriences v eriient nos r esultats th eoriques et prouvent l'eecacit e de notre algorithme pour des probl emes de taille quelconque.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Efficient Algorithm for Reducing the Duality Gap in a Special Class of the Knapsack Problem

A special class of the knapsack problem is called the separable nonlinear knapsack problem. This problem has received considerable attention recently because of its numerous applications. Dynamic programming is one of the basic approaches for solving this problem. Unfortunately, the size of state-pace will dramatically increase and cause the dimensionality problem. In this paper, an efficient a...

متن کامل

An Efficient Algorithm for Reducing the Duality Gap in a Special Class of the Knapsack Problem

A special class of the knapsack problem is called the separable nonlinear knapsack problem. This problem has received considerable attention recently because of its numerous applications. Dynamic programming is one of the basic approaches for solving this problem. Unfortunately, the size of state-pace will dramatically increase and cause the dimensionality problem. In this paper, an efficient a...

متن کامل

A dynamic programming approach for solving nonlinear knapsack problems

Nonlinear Knapsack Problems (NKP) are the alternative formulation for the multiple-choice knapsack problems. A powerful approach for solving NKP is dynamic programming which may obtain the global op-timal solution even in the case of discrete solution space for these problems. Despite the power of this solu-tion approach, it computationally performs very slowly when the solution space of the pr...

متن کامل

A cost-optimal parallel algorithm for the 0-1 knapsack problem and its performance on multicore CPU and GPU implementations

The 0–1 knapsack problem has been extensively studied in the past years due to its immediate applications in industry and financial management, such as cargo loading, stock cutting, and budget control. Many algorithms have been proposed to solve this problem, most of which are heuristic, as the problem is well-known to be NP-hard. Only a few optimal algorithms have been designed to solve this p...

متن کامل

Load balancing methods and parallel dynamic programming algorithm using dominance technique applied to the 0-1 knapsack problem

The parallelization on a supercomputer of a one list dynamic programming algorithm using dominance technique and processor cooperation for the 0–1 knapsack problem is presented. Such a technique generates irregular data structure, moreover the number of undominated states is unforeseeable. Original and efficient load balancing strategies are proposed. Finally, computational results obtained wit...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993